package com.yang.webapi.module.service;

import com.yang.service.model.dto.get.ShopGetDTO;
import com.yang.service.model.dto.post.ShopPostDTO;
import com.yang.service.model.dto.put.ShopPutDTO;
import com.yang.service.model.vo.ShopVO;
import com.zhy.base.service.page.PageResult;

import java.util.List;

/**
 * Created by xin7k
 * Date: 2019/12/2
 */
public interface ShopWebService {

    ShopVO selectById(String id);

    List<ShopVO> selectList(ShopGetDTO dto);

    String save(ShopPostDTO dto);

    boolean update(String id, ShopPutDTO dto);

    boolean deleteById(String id);

    boolean saveBatch(List<ShopPostDTO> dtos);

    boolean deleteBatch(List<String> ids);

    PageResult<ShopVO> getPriorityShop(Integer number);

    ShopVO getShopByShopId(String shopId);
}
